package org.dromara.xhlj.domain.bo;

import org.dromara.xhlj.domain.XhljTopicActivityCollect;
import lombok.*;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.*;

import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 活动订阅业务对象 xhlj_topic_activity_collect
 *
 * @author yf
 * @date 2024-07-28
 */
@Data
@AutoMapper(target = XhljTopicActivityCollect.class, reverseConvertGenerate = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class XhljTopicActivityCollectBo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 话题活动收藏id
     */
    @NotNull(message = "话题活动收藏id不能为空", groups = {EditGroup.class})
    private Integer topicActivityCollectId;
    /**
     * 是否订阅（0=未订阅，1=已订阅）
     */
    private String isCollect;
    /**
     * 展商id
     */
    private Integer enterpriseId;
    /**
     * 话题id
     */
    private Integer topicId;
    /**
     * 活动id
     */
    private Integer activityId;
    /**
     * 创建人wx_user（西湖论剑用户）
     */
     private Integer createBy;
}
